﻿
using Business.Base.DB;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Double;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Unity;

namespace Business
{
    public class TestEntry
    {
        private long ConvertDataTimeToLong(DateTime dt)
        {
            DateTime dtStart = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970, 1, 1));
            TimeSpan toNow = dt.Subtract(dtStart);
            long timeStamp = toNow.Ticks;
            timeStamp = long.Parse(timeStamp.ToString().Substring(0, timeStamp.ToString().Length - 4));
            return timeStamp / 1000;
        }

        public static void Main(string[] args)
        {

          
            /*DemoParent parent = new DemoChild();
            parent.CallFunc();
           

            Matrix<double> matrix = DenseMatrix.OfArray(new double[,] { { 1.0, 2.0, 1.0 } });
            DenseVector b = new DenseVector(new double[] {  0.0f  });
            var reasult=  matrix.LU().Solve(b);
            System.Console.ReadKey();*/
        }
    }
}
